﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="browsec.aspx.vb" Inherits="bookmeetprototype.browsec" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <!--Browse Clubs Section-->
    <ul class="breadcrumb">
    <li><a runat="server" href="~/Default.aspx">Home</a> <span class="divider">/</span></li>
    <li><a runat="server" href="~/discover.aspx">Discover</a> <span class="divider">/</span></li>
    <li class="active">Search Book Clubs</li>
    </ul>
     <asp:Repeater ID="searchResults" runat="server" onitemdatabound="searchResults_ItemDataBound">
        <ItemTemplate><hr />
        <div id="wrapper">
    <div id="first">
   <asp:Image ID="Image1" runat="server" Width="180px" ImageUrl="~/img/booknew2.png" />
    </div>
    <div id="second">
        <strong><asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# "showbookclubprofile.aspx?ID=" + Eval("ID").ToString() %>' ><%#Container.DataItem("BookClubName")%></asp:HyperLink></strong>,
        <i><%#Container.DataItem("BookClubLocation")%></i>, United Kingdom
        <p><small><%#Container.DataItem("PrimaryContact")%></small></p>
        </div>
   </div>
 
        </ItemTemplate>
    
        <FooterTemplate>
         <tr>
         <td>
         <asp:Label ID="lblEmptyData"
                Text="No results found." runat="server" Visible="false">
         </asp:Label>
         </td>
         </tr>
         </table>           
 </FooterTemplate>
        </asp:Repeater>
   

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="SidebarContent" runat="server">
    <!--Advanced Search Parameters Sidebar-->
<h4>Search Options:</h4>
    <h5>By Name:</h5>
    <asp:TextBox ID="other" runat="server"></asp:TextBox>
    <asp:Button ID="submitadvancedsearch" runat="server" 
        Text="Search" />
        
<h5>By Region:</h5>
    <p>
        <asp:DropDownList ID="dd_userlocation" runat="server">
            <asp:ListItem Value="London"></asp:ListItem>
            <asp:ListItem>South East</asp:ListItem>
            <asp:ListItem Value="North East"></asp:ListItem>
            <asp:ListItem>South</asp:ListItem>
            <asp:ListItem>East Anglia</asp:ListItem>
            <asp:ListItem>Midlands</asp:ListItem>
            <asp:ListItem>South Wales</asp:ListItem>
            <asp:ListItem>North Wales</asp:ListItem>
            <asp:ListItem>West Country</asp:ListItem>
        </asp:DropDownList>
    </p>
    <p>
    <asp:Button ID="submitregionsearch" runat="server" Text="Submit" />
    </p>
</asp:Content>